package com.feinno.urcs.group.pd.upstream.entity;

import com.feinno.superpojo.SuperPojo;
import com.feinno.superpojo.util.SuperPojoUtils;

import javax.xml.stream.XMLStreamException;

/**
 * Created by wuzhiguo on 15-5-20.
 */
public class BaseSuperPojo extends SuperPojo {

    private String innerText = "";

    public String getInnerText() {
        this.innerText = SuperPojoUtils.getStringAnyNode(this);
        return this.innerText;
    }

    public void setInnerText(String innerText) throws XMLStreamException {
        this.innerText = innerText;
        SuperPojoUtils.setStringAnyNode(this, innerText);
    }
}
